package com.dq.mapper;

import com.dq.pojo.ApplyForGift;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface ApplyForGiftMapper {
    public List<ApplyForGift> getAFGs();
    public List<ApplyForGift> getAFGById(String fromId);
    public int insertAFG(ApplyForGift afg);
    public int updateAFG(String id);
}
